package com.zmn.uac.common.info.mobile;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 类描述：用户手机号登录信息
 *
 * @author xujie
 * @since 2021/06/14 16:34
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户手机号登录信息")
public class MobileUserLoginInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码", required = true)
    @NotNull(message = "手机号码不能为空")
    private String mobile;
}
